﻿using System;
using ITViet.Web.App_Code;

namespace ITViet.Web.Controls
{
  public partial class SearchControl : BaseControl
  {
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnSearch_Click(object sender, EventArgs e)
    {
      SelectedMenuItem = null;
      SelectedSubMenuItem = null;
      SelectedMenuItemTitle = Resources.Strings.SearchResult;
      SelectedSubMenuItemTitle = "";

      string url = "~/Pages/SearchedResult.aspx?skey=" + txtSearchedKey.Value;
      Response.Redirect(url);
    }
  }
}